﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Security.Permissions;
using System.Runtime.Serialization;

namespace gKodes.Windows.Forms.Exceptions
{
    [Serializable()]
    public class NotEnoughDrawingArea : Exception
    {
        public NotEnoughDrawingArea()
            : base() { }

        public NotEnoughDrawingArea(string message)
            : base(message) { }

        public NotEnoughDrawingArea(string message, Exception innerException)
            : base(message, innerException) { }

        [SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
        public override void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            base.GetObjectData(info, context);
        }
    }
}
